typeerror: the first argument must be callable how to solve